package com.example.springcloudwinter.feign;

import com.example.springcloudwinter.dto.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "food-server")
public interface FoodFeignClient {
    @GetMapping("/FoodController/listFoodByBusinessId/{businessId}")
    ResultEntity<?> listFoodByBusinessId(@PathVariable("businessId") Integer businessId);
}
